<!-- 左边菜单 -->
{{each data as value i}}
{{if value.pid==roleparentid}}
<aside class="left-side leftside_{{value.id}}" style="display:none">
    <section class="sidebar">
        <ul class="sidebar-menu">
            <li class="treeview active">
                <div class="nav_con">
                    <div class="hd">
                        <a href="#">
                            <i class="fmzp">{{mapget(menuicon,value.url)}}</i>
                            <span>{{value.name}}</span>
                            <i class="fmzp pull-right">&#xe600;</i>
                        </a>
                    </div>
                    <div class="bd">
                        <ul class="treeview-menu">
                        	{{each childsmap[value.id] as value2 i2}}
                        	<li><a href="{{value2.url}}@" base-href="{{value.url}}"><i class="fmzp">&#xe601;</i> {{value2.name}}</a></li>
						    {{/each}}
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </section>
</aside>
{{/if}}
{{/each}}

